﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Surpass.Model.BaseDomain
{
    public abstract class BaseCommonModel:BaseModel
    {
        public BaseCommonModel()
        {
            Deleted = false;
            //CreatedTime = DateTime.Now; //避免更新的时候将该字段更新
            UpdatedTime = DateTime.Now;
        }


        public bool Deleted { get; set; }

        public DateTime CreatedTime { get; set; }

        public long CreatedBy { get; set; }

        public DateTime UpdatedTime { get; set; }

        public long UpdatedBy { get; set; }
    }
}
